package com.pace.cloud.consumer.zk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 需要开启扫描com.pace，加载common包里的kafka配置或者其他配置
 */
@SpringBootApplication(scanBasePackages = {"com.pace"}, exclude = {KafkaAutoConfiguration.class})
@EnableDiscoveryClient
public class OrderZkMain80 {

    public static void main(String[] args) {
        SpringApplication.run(OrderZkMain80.class, args);
    }

}
